package com.example.blog.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author YJ
 * @Date 2023/9/5 15:25
 * Description:
 */
@Data
public class ArticleInfo implements Serializable {
    private Integer blogId;
    private String title;
    private String content;
    private Integer userId;
    private Integer rCount;
    private Byte state;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Timestamp updateTime;
}
